package club.gskj.gulimall.member.feign;

import club.gskj.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author : Connor-G 康纳-郭
 * @date : 18:03 20.12.27
 * @Company : http://www.zzrgsoft.org
 * @Version : 1.0
 * <p>
 * coupon 远程服务调用接口定义
 */

@Component
@FeignClient("gulimall-coupon") // 声明式远程调用，指定nacos中注册的服务名称
public interface CouponFeignService {

    @RequestMapping("/coupon/coupon/member/list")
    public R memberCoupon();
}
